package test

import (
	"github.com/jinzhu/gorm"
	"managementsystem/conn"
)

func Delete(db *gorm.DB) {

	err := db.Table("c").Where("cname=?","A").Delete("c").Error
	conn.ErrCheck(err)
}
